package models

import (
	"gopkg.in/mgo.v2/bson"
	"time"
)

type TmpNews struct {
	Id bson.ObjectId `bson:"_id"`
	Title string `bson:"title"`
	Content string `bson:"content"`
	Source string `bson:"source"`
	PublishedAt time.Time `bson:"publishedAt"`
	Url string `bson:"url"`
	Keyword map[string]string `bson:"keyword"`
	Stocks []string `bson:"stocks"`//股票的内码
	Themes []string `bson:"themes"`//题材的内码
	Count int `bson:"count"`
	Status int `bson:"status"` //0未创建，1已创建，2发布
	Author string `bson:"author"`
}